package com.etung.iot.demo.boxConfig;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@ApiModel(value = "报警配置")
public class Alarm {
    @ApiModelProperty(notes = "报警ID")
    private Integer alarmId;
    @ApiModelProperty(notes = "报警类型")
    private Integer alarmType;
    @ApiModelProperty(notes = "报警规则")
    private String alarmExp;
    @ApiModelProperty(notes = "报警详情")
    private String tip;
}
